package br.folhapagamento.dado;

import java.sql.SQLException;
import java.util.ArrayList;

import br.folhapagamento.to.CargoTO;

public interface IDAOCargo {
	public ArrayList<CargoTO> consultar(String descricao) throws SQLException;
	public ArrayList<CargoTO> consultar(int codigo) throws SQLException;
	public int cadastrar(CargoTO cargo) throws SQLException;
	public int excluir(CargoTO cargo) throws SQLException;
	public int alterar(CargoTO cargo) throws SQLException;
	public String getMessage();
}
